Remove the assertion that top_y needs to be >= 0.
authorJoe Shaw <joe@ximian.com>
Mon, 21 May 2001 05:35:03 +0000 (05:35 +0000)
committerJoe Shaw <joeshaw@src.gnome.org>
Mon, 21 May 2001 05:35:03 +0000 (05:35 +0000)
2001-05-21  Joe Shaw  <joe@ximian.com>

* gtk/gtklayout.c (gtk_text_layout_get_lines): Remove the assertion
that top_y needs to be >= 0.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtktextlayout.c

index a43e82dc27f804576437b4ffa70a1a2be03c752c..90b2c1ef08c2071e021d03c1de20fecfb12e1cd3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-21  Joe Shaw  <joe@ximian.com>
+
+       * gtk/gtklayout.c (gtk_text_layout_get_lines): Remove the assertion
+       that top_y needs to be >= 0.
+
 2001-05-11  Havoc Pennington  <hp@pobox.com>
        
        * gdk/x11/gdkmain-x11.c: Improve error messages for X errors and
index a43e82dc27f804576437b4ffa70a1a2be03c752c..90b2c1ef08c2071e021d03c1de20fecfb12e1cd3 100644 (file)
@@ -1,3 +1,8 @@
+2001-05-21  Joe Shaw  <joe@ximian.com>
+
+       * gtk/gtklayout.c (gtk_text_layout_get_lines): Remove the assertion
+       that top_y needs to be >= 0.
+
 2001-05-11  Havoc Pennington  <hp@pobox.com>
        
        * gdk/x11/gdkmain-x11.c: Improve error messages for X errors and
index a43e82dc27f804576437b4ffa70a1a2be03c752c..90b2c1ef08c2071e021d03c1de20fecfb12e1cd3 100644 (file)
@@ -1,3 +1,8 @@
+2001-05-21  Joe Shaw  <joe@ximian.com>
+
+       * gtk/gtklayout.c (gtk_text_layout_get_lines): Remove the assertion
+       that top_y needs to be >= 0.
+
 2001-05-11  Havoc Pennington  <hp@pobox.com>
        
        * gdk/x11/gdkmain-x11.c: Improve error messages for X errors and
index a43e82dc27f804576437b4ffa70a1a2be03c752c..90b2c1ef08c2071e021d03c1de20fecfb12e1cd3 100644 (file)
@@ -1,3 +1,8 @@
+2001-05-21  Joe Shaw  <joe@ximian.com>
+
+       * gtk/gtklayout.c (gtk_text_layout_get_lines): Remove the assertion
+       that top_y needs to be >= 0.
+
 2001-05-11  Havoc Pennington  <hp@pobox.com>
        
        * gdk/x11/gdkmain-x11.c: Improve error messages for X errors and
index a43e82dc27f804576437b4ffa70a1a2be03c752c..90b2c1ef08c2071e021d03c1de20fecfb12e1cd3 100644 (file)
@@ -1,3 +1,8 @@
+2001-05-21  Joe Shaw  <joe@ximian.com>
+
+       * gtk/gtklayout.c (gtk_text_layout_get_lines): Remove the assertion
+       that top_y needs to be >= 0.
+
 2001-05-11  Havoc Pennington  <hp@pobox.com>
        
        * gdk/x11/gdkmain-x11.c: Improve error messages for X errors and
index a43e82dc27f804576437b4ffa70a1a2be03c752c..90b2c1ef08c2071e021d03c1de20fecfb12e1cd3 100644 (file)
@@ -1,3 +1,8 @@
+2001-05-21  Joe Shaw  <joe@ximian.com>
+
+       * gtk/gtklayout.c (gtk_text_layout_get_lines): Remove the assertion
+       that top_y needs to be >= 0.
+
 2001-05-11  Havoc Pennington  <hp@pobox.com>
        
        * gdk/x11/gdkmain-x11.c: Improve error messages for X errors and
index a43e82dc27f804576437b4ffa70a1a2be03c752c..90b2c1ef08c2071e021d03c1de20fecfb12e1cd3 100644 (file)
@@ -1,3 +1,8 @@
+2001-05-21  Joe Shaw  <joe@ximian.com>
+
+       * gtk/gtklayout.c (gtk_text_layout_get_lines): Remove the assertion
+       that top_y needs to be >= 0.
+
 2001-05-11  Havoc Pennington  <hp@pobox.com>
        
        * gdk/x11/gdkmain-x11.c: Improve error messages for X errors and
index de68df6d8bc5483990e78e3ed1e815f7787ae2cb..7bbc0d73955b8f1b5f1846ce8b85dacdf6cc19e2 100644 (file)
@@ -545,7 +545,6 @@ gtk_text_layout_get_lines (GtkTextLayout *layout,
                                    layout, top_y, first_line_y);
   if (first_btree_line == NULL)
     {
-      g_assert (top_y > 0);
       /* off the bottom */
       return NULL;
     }